from gen import nums
from alg import Solution
Solution=Solution()
print(Solution.maxCoins(nums))